﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace Meraz.Core.Repositories
{
    public abstract class RepositoryBase<TEntity, TID> : IRepository<TEntity, TID>
    {
        public abstract TEntity GetById(TID id);
        public abstract void Add(TEntity entity);
        public abstract void Delete(TEntity entity);
        public abstract List<TEntity> All();
        public virtual Data.IMerazContext context
        {
            get { throw new NotSupportedException(); }
        }
    }
}
